<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: visualization/include/pcl/visualization/pcl_plotter.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('pcl__plotter_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">pcl_plotter.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Software License Agreement (BSD License)</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *  Point Cloud Library (PCL) - www.pointclouds.org</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *  Copyright (c) 2010-2011, Willow Garage, Inc.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *  Copyright (c) 2012-, Open Perception, Inc.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *  All rights reserved.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *  Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *  modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *  are met:</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *   * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *     notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   * Redistributions in binary form must reproduce the above</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *     copyright notice, this list of conditions and the following</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *     disclaimer in the documentation and/or other materials provided</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *     with the distribution.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *   * Neither the name of the copyright holder(s) nor the names of its</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *     contributors may be used to endorse or promote products derived</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *     from this software without specific prior written permission.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *  &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> *  POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#ifndef PCL_VISUALUALIZATION_PCL_PLOTTER_H_</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#define PCL_VISUALUALIZATION_PCL_PLOTTER_H_</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;cfloat&gt;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &lt;pcl/visualization/common/common.h&gt;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="common_2include_2pcl_2point__types_8h.html">pcl/point_types.h</a>&gt;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &lt;pcl/correspondence.h&gt;</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &lt;pcl/point_cloud.h&gt;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;pcl/common/io.h&gt;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">class </span>PCLVisualizerInteractor;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="keyword">class </span>vtkRenderWindow;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">class </span>vtkRenderWindowInteractor;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="keyword">class </span>vtkContextView;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">class </span>vtkChartXY;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">class </span>vtkColorSeries;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#include &lt;vtkSmartPointer.h&gt;</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#include &lt;vtkCommand.h&gt;</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#include &lt;vtkChart.h&gt;</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">namespace </span>pcl</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="keyword">namespace </span>visualization</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  {</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html">   77</a></span>&#160;    <span class="keyword">class </span>PCL_EXPORTS <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html">PCLPlotter</a></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    {</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">   83</a></span>&#160;        <span class="keyword">typedef</span> std::vector&lt;double&gt; <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">   87</a></span>&#160;        <span class="keyword">typedef</span> std::pair&lt;PolynomialFunction, PolynomialFunction&gt; <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7d148313009ab332fb8a9f9746e8a125">   92</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7d148313009ab332fb8a9f9746e8a125">PCLPlotter</a> (<span class="keywordtype">char</span> <span class="keyword">const</span> * name = <span class="stringliteral">&quot;PCL Plotter&quot;</span>);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a3c1963efafacbd1dad6459675098873c">   95</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a3c1963efafacbd1dad6459675098873c">~PCLPlotter</a>();</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">  106</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">addPlotData</a> (<span class="keywordtype">double</span> <span class="keyword">const</span> *array_X, </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;                     <span class="keywordtype">double</span> <span class="keyword">const</span> *array_Y, </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                     <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> size, </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;                     <span class="keywordtype">char</span> <span class="keyword">const</span> * name = <span class="stringliteral">&quot;Y Axis&quot;</span>, </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                     <span class="keywordtype">int</span> type  = vtkChart::LINE ,</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                     <span class="keywordtype">char</span> <span class="keyword">const</span> *color=NULL);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad38634e017541eb0df59bfc122cc9c3d">  121</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad38634e017541eb0df59bfc122cc9c3d">addPlotData</a> (std::vector&lt;double&gt; <span class="keyword">const</span> &amp;array_x, </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;                     std::vector&lt;double&gt;<span class="keyword">const</span> &amp;array_y, </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                     <span class="keywordtype">char</span> <span class="keyword">const</span> * name = <span class="stringliteral">&quot;Y Axis&quot;</span>, </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                     <span class="keywordtype">int</span> type = vtkChart::LINE,</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                     std::vector&lt;char&gt; <span class="keyword">const</span> &amp;color = std::vector&lt;char&gt; ());</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a240123f61caa5eaee376e2c1bbec2ed0">  134</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a240123f61caa5eaee376e2c1bbec2ed0">addPlotData</a> (std::vector&lt;std::pair&lt;double, double&gt; &gt; <span class="keyword">const</span> &amp;plot_data, </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                    <span class="keywordtype">char</span> <span class="keyword">const</span> * name = <span class="stringliteral">&quot;Y Axis&quot;</span>,</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;                    <span class="keywordtype">int</span> type = vtkChart::LINE,</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;                    std::vector&lt;char&gt; <span class="keyword">const</span> &amp;color = std::vector&lt;char&gt;());</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        </div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a67ec9942b6c68cb9ff5285ceda1118db">  149</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a67ec9942b6c68cb9ff5285ceda1118db">addPlotData</a> (<a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a> <span class="keyword">const</span> &amp; p_function,</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;                     <span class="keywordtype">double</span> x_min, <span class="keywordtype">double</span> x_max,</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;                     <span class="keywordtype">char</span> <span class="keyword">const</span> *name = <span class="stringliteral">&quot;Y Axis&quot;</span>,</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;                     <span class="keywordtype">int</span> num_points = 100,</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                     <span class="keywordtype">int</span> type = vtkChart::LINE,</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                     std::vector&lt;char&gt; <span class="keyword">const</span> &amp;color = std::vector&lt;char&gt;());</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab3a3901ba938f756ea8f60b57909c683">  166</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab3a3901ba938f756ea8f60b57909c683">addPlotData</a> (<a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a> <span class="keyword">const</span> &amp; r_function,</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;                     <span class="keywordtype">double</span> x_min, <span class="keywordtype">double</span> x_max,</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;                     <span class="keywordtype">char</span> <span class="keyword">const</span> *name = <span class="stringliteral">&quot;Y Axis&quot;</span>,</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;                     <span class="keywordtype">int</span> num_points = 100,</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                     <span class="keywordtype">int</span> type = vtkChart::LINE,</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;                     std::vector&lt;char&gt; <span class="keyword">const</span> &amp;color = std::vector&lt;char&gt;());</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb3eb7f64546fbe558351fcb4b4ce047">  183</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb3eb7f64546fbe558351fcb4b4ce047">addPlotData</a> (<span class="keywordtype">double</span> (*<span class="keyword">function</span>)(<span class="keywordtype">double</span>),</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;                     <span class="keywordtype">double</span> x_min, <span class="keywordtype">double</span> x_max,</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;                     <span class="keywordtype">char</span> <span class="keyword">const</span> *name = <span class="stringliteral">&quot;Y Axis&quot;</span>,</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;                     <span class="keywordtype">int</span> num_points = 100,</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;                     <span class="keywordtype">int</span> type = vtkChart::LINE,</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;                     std::vector&lt;char&gt; <span class="keyword">const</span> &amp;color = std::vector&lt;char&gt;());</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afa8a495a5d13765694da8b3647ea2d19">  195</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afa8a495a5d13765694da8b3647ea2d19">addPlotData</a> (<span class="keywordtype">char</span> <span class="keyword">const</span> * filename,</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;                     <span class="keywordtype">int</span> type = vtkChart::LINE);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;                    </div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aaf23b2b1c2f91c517cfde387ee1b654e">  205</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aaf23b2b1c2f91c517cfde387ee1b654e">addHistogramData</a> (std::vector&lt;double&gt; <span class="keyword">const</span> &amp; data, </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;                          <span class="keywordtype">int</span> <span class="keyword">const</span> nbins = 10, </div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                          <span class="keywordtype">char</span> <span class="keyword">const</span> * name = <span class="stringliteral">&quot;Histogram&quot;</span>, </div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;                          std::vector&lt;char&gt; <span class="keyword">const</span> &amp;color = std::vector&lt;char&gt;());</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        </div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <span class="comment">//##PCLHistogramVisulizer methods##</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment"></span>        <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keywordtype">bool</span> </div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        addFeatureHistogram (<span class="keyword">const</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud, </div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;                             <span class="keywordtype">int</span> hsize, </div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;                             <span class="keyword">const</span> std::string &amp;<span class="keywordtype">id</span> = <span class="stringliteral">&quot;cloud&quot;</span>, <span class="keywordtype">int</span> win_width = 640, <span class="keywordtype">int</span> win_height = 200);</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        <span class="keywordtype">bool</span> </div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a01673a862b0a8ab04e3d796cbbf69986">  231</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a01673a862b0a8ab04e3d796cbbf69986">addFeatureHistogram</a> (<span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;                             <span class="keyword">const</span> std::string &amp;field_name, </div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                             <span class="keyword">const</span> std::string &amp;<span class="keywordtype">id</span> = <span class="stringliteral">&quot;cloud&quot;</span>, <span class="keywordtype">int</span> win_width = 640, <span class="keywordtype">int</span> win_height = 200);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keywordtype">bool</span> </div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        addFeatureHistogram (<span class="keyword">const</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud, </div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                             <span class="keyword">const</span> std::string &amp;field_name, </div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">int</span> index,</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;                             <span class="keyword">const</span> std::string &amp;<span class="keywordtype">id</span> = <span class="stringliteral">&quot;cloud&quot;</span>, <span class="keywordtype">int</span> win_width = 640, <span class="keywordtype">int</span> win_height = 200);</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keywordtype">bool</span> </div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb0b5383a05f070dab01a0896b5eb34b">  258</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb0b5383a05f070dab01a0896b5eb34b">addFeatureHistogram</a> (<span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;                             <span class="keyword">const</span> std::string &amp;field_name, </div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">int</span> index,</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;                             <span class="keyword">const</span> std::string &amp;<span class="keywordtype">id</span> = <span class="stringliteral">&quot;cloud&quot;</span>, <span class="keywordtype">int</span> win_width = 640, <span class="keywordtype">int</span> win_height = 200);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        </div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a41f977c1d087e240725e5b3c0f4f9912">  265</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a41f977c1d087e240725e5b3c0f4f9912">plot</a> ();</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        </div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6d1f55dc284659e78b1169abdf52ef6b">  271</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6d1f55dc284659e78b1169abdf52ef6b">spinOnce</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> spin_time = 1);</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;        </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeec0f8a413a68734bcbc7c2ce317ae95">  275</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeec0f8a413a68734bcbc7c2ce317ae95">spin</a> ();</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        </div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac50c46612f33855348adde2d21bdb826">  279</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac50c46612f33855348adde2d21bdb826">clearPlots</a>();</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        </div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a4c65a51cd8adea146e216aa27e11c2e5">  285</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a4c65a51cd8adea146e216aa27e11c2e5">setColorScheme</a> (<span class="keywordtype">int</span> scheme);</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        </div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        <span class="keywordtype">int</span> </div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#af5de1bfa0eca8e08f16783b20b7b1ceb">  291</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#af5de1bfa0eca8e08f16783b20b7b1ceb">getColorScheme</a> ();</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a65eeee918901675fe22273eac6b0f8ba">  299</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a65eeee918901675fe22273eac6b0f8ba">setBackgroundColor</a> (<span class="keyword">const</span> <span class="keywordtype">double</span> r, <span class="keyword">const</span> <span class="keywordtype">double</span> g, <span class="keyword">const</span> <span class="keywordtype">double</span> b);</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a9f7d74f8e8ce9a01562a6cda8691d632">  305</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a9f7d74f8e8ce9a01562a6cda8691d632">setBackgroundColor</a> (<span class="keyword">const</span> <span class="keywordtype">double</span> color[3]);</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <span class="keywordtype">double</span> *</div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1e6c7350dd91cda113af1656eff49bc0">  311</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1e6c7350dd91cda113af1656eff49bc0">getBackgroundColor</a> ();</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        </div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8e43c013c6aacca70e1baf701abf2e13">  318</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8e43c013c6aacca70e1baf701abf2e13">setXRange</a> (<span class="keywordtype">double</span> min, <span class="keywordtype">double</span> max);</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        </div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a89e37e9e88ec19b420bc507d27707c86">  325</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a89e37e9e88ec19b420bc507d27707c86">setYRange</a> (<span class="keywordtype">double</span> min, <span class="keywordtype">double</span> max);</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;        </div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aab1174aa64c82d43e43f15e1e0cdcf51">  331</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aab1174aa64c82d43e43f15e1e0cdcf51">setTitle</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        </div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad3fa3e8b63f7e12680272dae1e9cad78">  337</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad3fa3e8b63f7e12680272dae1e9cad78">setXTitle</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        </div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6299cb37ea7c5016a598a1142cbd29b8">  343</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6299cb37ea7c5016a598a1142cbd29b8">setYTitle</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        </div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afdfad3f408e527d0a3ad819db2962a65">  349</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afdfad3f408e527d0a3ad819db2962a65">setShowLegend</a> (<span class="keywordtype">bool</span> flag);</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;        </div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">  356</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">setWindowSize</a> (<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        </div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a07985337b8983de46ba5efcc07aca6a0">  363</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a07985337b8983de46ba5efcc07aca6a0">setWindowPosition</a> (<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        </div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a54d136dbabbe288296fdd1b0df42aef6">  369</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a54d136dbabbe288296fdd1b0df42aef6">setWindowName</a> (<span class="keyword">const</span> std::string &amp;name);</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;        </div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;        <span class="keywordtype">int</span>*</div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8ad182071e2b128f74c5768642e0489b">  375</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8ad182071e2b128f74c5768642e0489b">getWindowSize</a> ();</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160; </div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        <a class="code" href="classvtk_smart_pointer.html">vtkSmartPointer&lt;vtkRenderWindow&gt;</a></div>
<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab8bc3e318652dc895677bc82078e3d56">  379</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab8bc3e318652dc895677bc82078e3d56">getRenderWindow</a> ();</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;        </div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ae3e1f44cf82d7f9e48e8297eb5e03dc2">  383</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ae3e1f44cf82d7f9e48e8297eb5e03dc2">setViewInteractor</a> (<a class="code" href="classvtk_smart_pointer.html">vtkSmartPointer&lt;vtkRenderWindowInteractor&gt;</a> interactor);</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;        </div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a47245062197b915022c75b322bd4b10c">  387</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a47245062197b915022c75b322bd4b10c">startInteractor</a> ();</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        </div>
<div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a75c4ff06877b3348861243606d0f8c4b">  390</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a75c4ff06877b3348861243606d0f8c4b">renderOnce</a>();</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160; </div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;        <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#abd1f635640c76e3b1fbfac9f9d732d03">  394</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#abd1f635640c76e3b1fbfac9f9d732d03">wasStopped</a> () <span class="keyword">const</span>;</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;        </div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a990e21642c81079b1c24feeb0ad961b0">  398</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a990e21642c81079b1c24feeb0ad961b0">close</a> ();</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;      </div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;      <span class="keyword">private</span>:</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;        <a class="code" href="classvtk_smart_pointer.html">vtkSmartPointer&lt;vtkContextView&gt;</a> view_;  </div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;        <a class="code" href="classvtk_smart_pointer.html">vtkSmartPointer&lt;vtkChartXY&gt;</a> chart_;</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <a class="code" href="classvtk_smart_pointer.html">vtkSmartPointer&lt;vtkColorSeries&gt;</a> color_series_;   <span class="comment">//for automatic coloring</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        </div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        <span class="comment">//extra state variables</span></div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        <span class="keywordtype">int</span> current_plot_;          <span class="comment">//stores the id of the current (most recent) plot, used in automatic coloring and other state change schemes </span></div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        <span class="keywordtype">int</span> win_width_, win_height_;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;        <span class="keywordtype">int</span> win_x_, win_y_; <span class="comment">//window position according to screen coordinate</span></div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;        <span class="keywordtype">double</span> bkg_color_[3];</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        std::string win_name_;</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;          </div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        <span class="comment">//####event callback class####</span></div>
<div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback.html">  413</a></span>&#160;        <span class="keyword">struct </span><a class="code" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a> : <span class="keyword">public</span> vtkCommand</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;        {</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;          <span class="keyword">static</span> <a class="code" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a>* New ()</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;          {</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;            <span class="keywordflow">return</span> (<span class="keyword">new</span> <a class="code" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a>);</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;          }</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;          <span class="keyword">virtual</span> <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;          Execute (vtkObject*, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> event_id, <span class="keywordtype">void</span>* call_data);</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160; </div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;          <span class="keywordtype">int</span> right_timer_id;</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;<span class="preprocessor">#if ((VTK_MAJOR_VERSION == 5) &amp;&amp; (VTK_MINOR_VERSION &lt;= 4))</span></div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;          <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_visualizer_interactor.html">PCLVisualizerInteractor</a> *interactor;</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;          vtkRenderWindowInteractor *interactor;</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;        };</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;        </div>
<div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback.html">  430</a></span>&#160;        <span class="keyword">struct </span><a class="code" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback.html">ExitCallback</a> : <span class="keyword">public</span> vtkCommand</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;        {</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;          <span class="keyword">static</span> <a class="code" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback.html">ExitCallback</a>* New ()</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;          {</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback.html">ExitCallback</a>;</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;          }</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;          <span class="keyword">virtual</span> <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;          Execute (vtkObject*, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> event_id, <span class="keywordtype">void</span>*);</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160; </div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;          <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html">PCLPlotter</a> *plotter;</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;        };</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;        </div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1b45466fa1cc96b01765640ce90541b4">  443</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1b45466fa1cc96b01765640ce90541b4">stopped_</a>;</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;        </div>
<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1da52cdce14a2a4fc27837e8e6ca169b">  446</a></span>&#160;        <a class="code" href="classvtk_smart_pointer.html">vtkSmartPointer&lt;ExitMainLoopTimerCallback&gt;</a> <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1da52cdce14a2a4fc27837e8e6ca169b">exit_loop_timer_</a>;</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;        <a class="code" href="classvtk_smart_pointer.html">vtkSmartPointer&lt;ExitCallback&gt;</a> exit_callback_;</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;        </div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; </div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;        <span class="keywordtype">double</span> </div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afaae96ca94fcff0d70ac698441a0055c">  455</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afaae96ca94fcff0d70ac698441a0055c">compute</a> (<a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a> <span class="keyword">const</span> &amp; p_function, <span class="keywordtype">double</span> val);</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;        </div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;        <span class="keywordtype">double</span> </div>
<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a26f3b8e8b0e5b1ffc240f015be9bd397">  462</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a26f3b8e8b0e5b1ffc240f015be9bd397">compute</a> (<a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a> <span class="keyword">const</span> &amp; r_function, <span class="keywordtype">double</span> val);</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;        </div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;        <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7bf33901a66b8a9dd45fb0f888d585fb">  471</a></span>&#160;        <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7bf33901a66b8a9dd45fb0f888d585fb">computeHistogram</a> (std::vector&lt;double&gt; <span class="keyword">const</span> &amp; data, <span class="keywordtype">int</span> <span class="keyword">const</span> nbins, std::vector&lt;std::pair&lt;double, double&gt; &gt; &amp;histogram);</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;    };</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;  }</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;}</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160; </div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;<span class="preprocessor">#include &lt;pcl/visualization/impl/pcl_plotter.hpp&gt;</span></div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160; </div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">/* PCL_VISUALUALIZATION_PCL_PLOTTER_H_ */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160; </div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html"><div class="ttname"><a href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a></div><div class="ttdoc">PointCloud represents the base class in PCL for storing collections of 3D points.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:173</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html">pcl::visualization::PCLPlotter</a></div><div class="ttdoc">PCL Plotter main class. Given point correspondences this class can be used to plot the data one again...</div><div class="ttdef"><b>Definition:</b> pcl_plotter.h:78</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a01673a862b0a8ab04e3d796cbbf69986"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a01673a862b0a8ab04e3d796cbbf69986">pcl::visualization::PCLPlotter::addFeatureHistogram</a></div><div class="ttdeci">bool addFeatureHistogram(const pcl::PCLPointCloud2 &amp;cloud, const std::string &amp;field_name, const std::string &amp;id=&quot;cloud&quot;, int win_width=640, int win_height=200)</div><div class="ttdoc">Add a histogram feature to screen as a separate window from a cloud containing a single histogram.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a07985337b8983de46ba5efcc07aca6a0"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a07985337b8983de46ba5efcc07aca6a0">pcl::visualization::PCLPlotter::setWindowPosition</a></div><div class="ttdeci">void setWindowPosition(int x, int y)</div><div class="ttdoc">Set the position in screen coordinates.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a1b45466fa1cc96b01765640ce90541b4"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1b45466fa1cc96b01765640ce90541b4">pcl::visualization::PCLPlotter::stopped_</a></div><div class="ttdeci">bool stopped_</div><div class="ttdoc">Set to false if the interaction loop is running.</div><div class="ttdef"><b>Definition:</b> pcl_plotter.h:443</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a1da52cdce14a2a4fc27837e8e6ca169b"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1da52cdce14a2a4fc27837e8e6ca169b">pcl::visualization::PCLPlotter::exit_loop_timer_</a></div><div class="ttdeci">vtkSmartPointer&lt; ExitMainLoopTimerCallback &gt; exit_loop_timer_</div><div class="ttdoc">Callback object enabling us to leave the main loop, when a timer fires.</div><div class="ttdef"><b>Definition:</b> pcl_plotter.h:446</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a1e6c7350dd91cda113af1656eff49bc0"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1e6c7350dd91cda113af1656eff49bc0">pcl::visualization::PCLPlotter::getBackgroundColor</a></div><div class="ttdeci">double * getBackgroundColor()</div><div class="ttdoc">set/get method for the viewport's background color.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a240123f61caa5eaee376e2c1bbec2ed0"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a240123f61caa5eaee376e2c1bbec2ed0">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(std::vector&lt; std::pair&lt; double, double &gt; &gt; const &amp;plot_data, char const *name=&quot;Y Axis&quot;, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</div><div class="ttdoc">Adds a plot with correspondences in vector of pairs. The the first and second field of the pairs of t...</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a26f3b8e8b0e5b1ffc240f015be9bd397"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a26f3b8e8b0e5b1ffc240f015be9bd397">pcl::visualization::PCLPlotter::compute</a></div><div class="ttdeci">double compute(RationalFunction const &amp;r_function, double val)</div><div class="ttdoc">computes the value of the rational function at val</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a3c1963efafacbd1dad6459675098873c"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a3c1963efafacbd1dad6459675098873c">pcl::visualization::PCLPlotter::~PCLPlotter</a></div><div class="ttdeci">~PCLPlotter()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a41f977c1d087e240725e5b3c0f4f9912"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a41f977c1d087e240725e5b3c0f4f9912">pcl::visualization::PCLPlotter::plot</a></div><div class="ttdeci">void plot()</div><div class="ttdoc">Draws all the plots added by addPlotData() or addHistogramData() till now</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a47245062197b915022c75b322bd4b10c"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a47245062197b915022c75b322bd4b10c">pcl::visualization::PCLPlotter::startInteractor</a></div><div class="ttdeci">void startInteractor()</div><div class="ttdoc">Initialize and Start the view's interactor.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a4c65a51cd8adea146e216aa27e11c2e5"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a4c65a51cd8adea146e216aa27e11c2e5">pcl::visualization::PCLPlotter::setColorScheme</a></div><div class="ttdeci">void setColorScheme(int scheme)</div><div class="ttdoc">Set method for the color scheme of the plot. The plots gets autocolored differently based on the colo...</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a54d136dbabbe288296fdd1b0df42aef6"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a54d136dbabbe288296fdd1b0df42aef6">pcl::visualization::PCLPlotter::setWindowName</a></div><div class="ttdeci">void setWindowName(const std::string &amp;name)</div><div class="ttdoc">Set the visualizer window name.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a6299cb37ea7c5016a598a1142cbd29b8"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6299cb37ea7c5016a598a1142cbd29b8">pcl::visualization::PCLPlotter::setYTitle</a></div><div class="ttdeci">void setYTitle(const char *title)</div><div class="ttdoc">Set the title of the Y-Axis</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a65eeee918901675fe22273eac6b0f8ba"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a65eeee918901675fe22273eac6b0f8ba">pcl::visualization::PCLPlotter::setBackgroundColor</a></div><div class="ttdeci">void setBackgroundColor(const double r, const double g, const double b)</div><div class="ttdoc">set/get method for the viewport's background color.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a67ec9942b6c68cb9ff5285ceda1118db"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a67ec9942b6c68cb9ff5285ceda1118db">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(PolynomialFunction const &amp;p_function, double x_min, double x_max, char const *name=&quot;Y Axis&quot;, int num_points=100, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</div><div class="ttdoc">Adds a plot based on the given polynomial function and the range in X axis.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a6d1f55dc284659e78b1169abdf52ef6b"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6d1f55dc284659e78b1169abdf52ef6b">pcl::visualization::PCLPlotter::spinOnce</a></div><div class="ttdeci">void spinOnce(const int spin_time=1)</div><div class="ttdoc">Spins (runs the event loop) the interactor for spin_time amount of time. The name is confusing and wi...</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a75c4ff06877b3348861243606d0f8c4b"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a75c4ff06877b3348861243606d0f8c4b">pcl::visualization::PCLPlotter::renderOnce</a></div><div class="ttdeci">void renderOnce()</div><div class="ttdoc">Render the vtkWindow once.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a79294fa035318fc2b9ad9e4eafc44723"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">pcl::visualization::PCLPlotter::setWindowSize</a></div><div class="ttdeci">void setWindowSize(int w, int h)</div><div class="ttdoc">set/get method for the window size.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a7bf33901a66b8a9dd45fb0f888d585fb"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7bf33901a66b8a9dd45fb0f888d585fb">pcl::visualization::PCLPlotter::computeHistogram</a></div><div class="ttdeci">void computeHistogram(std::vector&lt; double &gt; const &amp;data, int const nbins, std::vector&lt; std::pair&lt; double, double &gt; &gt; &amp;histogram)</div><div class="ttdoc">bins the elements in vector data into nbins equally spaced containers and returns the histogram form,...</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a7d148313009ab332fb8a9f9746e8a125"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7d148313009ab332fb8a9f9746e8a125">pcl::visualization::PCLPlotter::PCLPlotter</a></div><div class="ttdeci">PCLPlotter(char const *name=&quot;PCL Plotter&quot;)</div><div class="ttdoc">PCL Plotter constructor.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a89e37e9e88ec19b420bc507d27707c86"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a89e37e9e88ec19b420bc507d27707c86">pcl::visualization::PCLPlotter::setYRange</a></div><div class="ttdeci">void setYRange(double min, double max)</div><div class="ttdoc">Set logical range of the Y-Axis in plot coordinates</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a8ad182071e2b128f74c5768642e0489b"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8ad182071e2b128f74c5768642e0489b">pcl::visualization::PCLPlotter::getWindowSize</a></div><div class="ttdeci">int * getWindowSize()</div><div class="ttdoc">set/get method for the window size.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a8e43c013c6aacca70e1baf701abf2e13"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8e43c013c6aacca70e1baf701abf2e13">pcl::visualization::PCLPlotter::setXRange</a></div><div class="ttdeci">void setXRange(double min, double max)</div><div class="ttdoc">Set logical range of the X-Axis in plot coordinates</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a990e21642c81079b1c24feeb0ad961b0"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a990e21642c81079b1c24feeb0ad961b0">pcl::visualization::PCLPlotter::close</a></div><div class="ttdeci">void close()</div><div class="ttdoc">Stop the interaction and close the visualizaton window.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a9f7d74f8e8ce9a01562a6cda8691d632"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a9f7d74f8e8ce9a01562a6cda8691d632">pcl::visualization::PCLPlotter::setBackgroundColor</a></div><div class="ttdeci">void setBackgroundColor(const double color[3])</div><div class="ttdoc">set/get method for the viewport's background color.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_aab1174aa64c82d43e43f15e1e0cdcf51"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aab1174aa64c82d43e43f15e1e0cdcf51">pcl::visualization::PCLPlotter::setTitle</a></div><div class="ttdeci">void setTitle(const char *title)</div><div class="ttdoc">Set the main title of the plot</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_aada575b7dd399245a33131f3240e74b2"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(double const *array_X, double const *array_Y, unsigned long size, char const *name=&quot;Y Axis&quot;, int type=vtkChart::LINE, char const *color=NULL)</div><div class="ttdoc">Adds a plot with correspondences in the arrays arrayX and arrayY</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_aaf23b2b1c2f91c517cfde387ee1b654e"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aaf23b2b1c2f91c517cfde387ee1b654e">pcl::visualization::PCLPlotter::addHistogramData</a></div><div class="ttdeci">void addHistogramData(std::vector&lt; double &gt; const &amp;data, int const nbins=10, char const *name=&quot;Histogram&quot;, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</div><div class="ttdoc">Bins the elements in vector data into nbins equally spaced containers and plots the resulted histogra...</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ab3a3901ba938f756ea8f60b57909c683"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab3a3901ba938f756ea8f60b57909c683">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(RationalFunction const &amp;r_function, double x_min, double x_max, char const *name=&quot;Y Axis&quot;, int num_points=100, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</div><div class="ttdoc">Adds a plot based on the given rational function and the range in X axis.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ab8bc3e318652dc895677bc82078e3d56"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab8bc3e318652dc895677bc82078e3d56">pcl::visualization::PCLPlotter::getRenderWindow</a></div><div class="ttdeci">vtkSmartPointer&lt; vtkRenderWindow &gt; getRenderWindow()</div><div class="ttdoc">Return a pointer to the underlying VTK RenderWindow used.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_abd1f635640c76e3b1fbfac9f9d732d03"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#abd1f635640c76e3b1fbfac9f9d732d03">pcl::visualization::PCLPlotter::wasStopped</a></div><div class="ttdeci">bool wasStopped() const</div><div class="ttdoc">Returns true when the user tried to close the window</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ac1af509958993f12598ba7445bdf0aee"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">pcl::visualization::PCLPlotter::PolynomialFunction</a></div><div class="ttdeci">std::vector&lt; double &gt; PolynomialFunction</div><div class="ttdoc">A representation of polynomial function. i'th element of the vector denotes the coefficient of x^i of...</div><div class="ttdef"><b>Definition:</b> pcl_plotter.h:83</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ac50c46612f33855348adde2d21bdb826"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac50c46612f33855348adde2d21bdb826">pcl::visualization::PCLPlotter::clearPlots</a></div><div class="ttdeci">void clearPlots()</div><div class="ttdoc">Remove all plots from the window.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ad305459f399edfc8eb4aa3b7eaa2c956"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">pcl::visualization::PCLPlotter::RationalFunction</a></div><div class="ttdeci">std::pair&lt; PolynomialFunction, PolynomialFunction &gt; RationalFunction</div><div class="ttdoc">A representation of rational function, defined as the ratio of two polynomial functions....</div><div class="ttdef"><b>Definition:</b> pcl_plotter.h:87</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ad38634e017541eb0df59bfc122cc9c3d"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad38634e017541eb0df59bfc122cc9c3d">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(std::vector&lt; double &gt; const &amp;array_x, std::vector&lt; double &gt;const &amp;array_y, char const *name=&quot;Y Axis&quot;, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</div><div class="ttdoc">Adds a plot with correspondences in vectors arrayX and arrayY. This is the vector version of the addP...</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ad3fa3e8b63f7e12680272dae1e9cad78"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad3fa3e8b63f7e12680272dae1e9cad78">pcl::visualization::PCLPlotter::setXTitle</a></div><div class="ttdeci">void setXTitle(const char *title)</div><div class="ttdoc">Set the title of the X-Axis</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_ae3e1f44cf82d7f9e48e8297eb5e03dc2"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ae3e1f44cf82d7f9e48e8297eb5e03dc2">pcl::visualization::PCLPlotter::setViewInteractor</a></div><div class="ttdeci">void setViewInteractor(vtkSmartPointer&lt; vtkRenderWindowInteractor &gt; interactor)</div><div class="ttdoc">Set the view's interactor.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_aeb0b5383a05f070dab01a0896b5eb34b"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb0b5383a05f070dab01a0896b5eb34b">pcl::visualization::PCLPlotter::addFeatureHistogram</a></div><div class="ttdeci">bool addFeatureHistogram(const pcl::PCLPointCloud2 &amp;cloud, const std::string &amp;field_name, const int index, const std::string &amp;id=&quot;cloud&quot;, int win_width=640, int win_height=200)</div><div class="ttdoc">Add a histogram feature to screen as a separate window.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_aeb3eb7f64546fbe558351fcb4b4ce047"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb3eb7f64546fbe558351fcb4b4ce047">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(double(*function)(double), double x_min, double x_max, char const *name=&quot;Y Axis&quot;, int num_points=100, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</div><div class="ttdoc">Adds a plot based on a user defined callback function representing the function to plot</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_aeec0f8a413a68734bcbc7c2ce317ae95"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeec0f8a413a68734bcbc7c2ce317ae95">pcl::visualization::PCLPlotter::spin</a></div><div class="ttdeci">void spin()</div><div class="ttdoc">Spins (runs the event loop) the interactor indefinitely. Same as plot() - added to retain the similar...</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_af5de1bfa0eca8e08f16783b20b7b1ceb"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#af5de1bfa0eca8e08f16783b20b7b1ceb">pcl::visualization::PCLPlotter::getColorScheme</a></div><div class="ttdeci">int getColorScheme()</div><div class="ttdoc">get the currently used color scheme</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_afa8a495a5d13765694da8b3647ea2d19"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afa8a495a5d13765694da8b3647ea2d19">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(char const *filename, int type=vtkChart::LINE)</div><div class="ttdoc">Adds a plot based on a space/tab delimited table provided in a file</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_afaae96ca94fcff0d70ac698441a0055c"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afaae96ca94fcff0d70ac698441a0055c">pcl::visualization::PCLPlotter::compute</a></div><div class="ttdeci">double compute(PolynomialFunction const &amp;p_function, double val)</div><div class="ttdoc">computes the value of the polynomial function at val</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_afdfad3f408e527d0a3ad819db2962a65"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afdfad3f408e527d0a3ad819db2962a65">pcl::visualization::PCLPlotter::setShowLegend</a></div><div class="ttdeci">void setShowLegend(bool flag)</div><div class="ttdoc">Shows the legend of the graph</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_visualizer_interactor_html"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_visualizer_interactor.html">pcl::visualization::PCLVisualizerInteractor</a></div><div class="ttdoc">The PCLVisualizer interactor</div><div class="ttdef"><b>Definition:</b> interactor.h:76</div></div>
<div class="ttc" id="aclassvtk_smart_pointer_html"><div class="ttname"><a href="classvtk_smart_pointer.html">vtkSmartPointer&lt; vtkRenderWindow &gt;</a></div></div>
<div class="ttc" id="acommon_2include_2pcl_2point__types_8h_html"><div class="ttname"><a href="common_2include_2pcl_2point__types_8h.html">point_types.h</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_point_cloud2_html"><div class="ttname"><a href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a></div><div class="ttdef"><b>Definition:</b> PCLPointCloud2.h:21</div></div>
<div class="ttc" id="astructpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback_html"><div class="ttname"><a href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback.html">pcl::visualization::PCLPlotter::ExitCallback</a></div><div class="ttdef"><b>Definition:</b> pcl_plotter.h:431</div></div>
<div class="ttc" id="astructpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback_html"><div class="ttname"><a href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback.html">pcl::visualization::PCLPlotter::ExitMainLoopTimerCallback</a></div><div class="ttdef"><b>Definition:</b> pcl_plotter.h:414</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_2ac5e416e20d6963657ce30aa6dbcd0f.html">visualization</a></li><li class="navelem"><a class="el" href="dir_ca70b9fa2354bc60013eaf653373b145.html">include</a></li><li class="navelem"><a class="el" href="dir_28dd85ce8ffdd76a714606be7f2489ac.html">pcl</a></li><li class="navelem"><a class="el" href="dir_39db60481a174b518eca40dd7e3347e8.html">visualization</a></li><li class="navelem"><b>pcl_plotter.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
